package conf

import (
	config2 "wit-admin-go/conf/config"
)

const (
	ConfigEnv  = "CONFIG"
	ConfigFile = "conf/config.yaml"
)

// Config 全局配置
type Config struct {
	PostGre    config2.PostGre    `mapstructure:"PostGre" json:"postGre" yaml:"postGre"`
	Mysql      config2.MySQL      `mapstructure:"mysql" json:"mysql" yaml:"mysql"`
	Redis      config2.Redis      `mapstructure:"Redis" json:"Redis" yaml:"Redis"`
	Attachment config2.Attachment `mapstructure:"attachment" json:"attachment" yaml:"attachment"`
	WitAdmin   config2.WitAdmin   `mapstructure:"witAdmin" json:"witAdmin" yaml:"witAdmin"`
}
